package com.aiyige.page.globalsearch.event;

public class EventJumpGlobalSearchTab {
    int index;

    public EventJumpGlobalSearchTab() {
    }

    private EventJumpGlobalSearchTab(Builder builder) {
        setIndex(builder.index);
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public static final class Builder {
        private int index;

        private Builder() {
            index = 0;
        }

        public Builder index(int val) {
            index = val;
            return this;
        }

        public EventJumpGlobalSearchTab build() {
            return new EventJumpGlobalSearchTab(this);
        }
    }
}
